package interfaceWorker;

import java.awt.CardLayout;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import javax.swing.JPanel;

public class WorkerFrame extends JFrame {
	
	private WorkerGui wg;
	private Dimension frameSize;

	
	public WorkerFrame() {	
		
		//setTitle("Worker Station");
		this.setSize(500,500);
		this.setDefaultCloseOperation(EXIT_ON_CLOSE);
	//	this.getContentPane().setBackground(Color.LIGHT_GRAY);
		frameSize = new Dimension(500, 500);
		
		this.setContentPane(new WorkerGui(frameSize,this));
		this.setVisible(true);
	}
	
	public void setname(String s){
		setTitle(s);
	}


}
